home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Topik
/
Topik - Disk 37 - Games 3 (19xx)(Topik Public Domain)(PD)[WB].zip
/
Topik - Disk 37 - Games 3 (19xx)(Topik Public Domain)(PD)[WB].adf
/
RUMMY
/
SOURCE
/
carddecl.c.pp
/
carddecl.c
Wrap
C/C++ Source or Header
|
1991-02-24
|
52KB
|
1,361 lines
/* CARDDECL.C
* This file contains the image structures for the cards. When the
* declarations in this file are correct, the file cards.c will be added
* to the front, and externcards.h will no longer be needed. This will
* then be a separate module to be linked with the program.
*/
#include <stdlib.h>
#include <intuition/intuition.h>
#include "defns.h"
#define TLNX 5
#define TLNY 3
#define TLSX 4
#define TLSY 11
#define BRSX 52
#define BRSY 29
#define BRNX 52
#define BRNY 38
#define P1X 15
#define P1Y 6
#define P2X 39
#define P2Y 6
#define P3X 15
#define P3Y 15
#define P4X 39
#define P4Y 15
#define P5X 15
#define P5Y 25
#define P6X 39
#define P6Y 25
#define P7X 15
#define P7Y 34
#define P8X 39
#define P8Y 34
#define P9X 15
#define P9Y 20
#define P10X 39
#define P10Y 20
#define P11X 27
#define P11Y 20
#define P12X 27
#define P12Y 11
#define P13X 27
#define P13Y 29
#define P14X 27
#define P14Y 6
#define P15X 27
#define P15Y 34
#define PICX 14
#define PICY 5
/* graphics for player vertical player ids */
USHORT chip plr1gfx[] =
{
0x1004,0x1004,0x0154,0x0154,0x0154,0x0154,0x0104,0x0088,
0x0000,0x0000,0x1004,0x1004,0x0000,0x0000,0x0900,0x10a0,
0x16a0,0x16a0,0x16a0,0x1020,0x1040,0x0000,0x5820,0xb020,
0xb400,0xb400,0xb400,0x8020,0x4020,0x0000,0x0840,0x1020,
0x16a0,0x16a0,0x16a0,0x1220,0x0a40,0x0000,0x1020,0x1020,
0x0140,0x00a0,0x00a0,0x00a0,0x00a0,0x0140,0x0000,0x0000,
0x0050,0x1004,0x1004,0x0000,0x0000,0x0000,0x0000,0x0ff8,
0x0ff8,0x0088,0x0088,0x0088,0x0088,0x00f8,0x0070,0x0000,
0x0000,0x0ff8,0x0ff8,0x0000,0x0000,0x0600,0x0f40,0x0940,
0x0940,0x0940,0x0fc0,0x0f80,0x0000,0x27c0,0x4fc0,0x4800,
0x4800,0x4800,0x7fc0,0x3fc0,0x0000,0x0780,0x0fc0,0x0940,
0x0940,0x0940,0x0dc0,0x0580,0x0000,0x0fc0,0x0fc0,0x0080,
0x0040,0x0040,0x0040,0x0040,0x0080,0x0000,0x0000,0x0020,
0x0ff8,0x0ff8,0x0000,0x0000,0x0000,0x0000,0x2002,0x2002,
0x0222,0x0222,0x0222,0x0222,0x0202,0x0104,0x0000,0x0000,
0x2002,0x2002,0x0000,0x0000,0x1080,0x2010,0x2010,0x2010,
0x2010,0x2010,0x2020,0x0000,0x8010,0x0010,0x0200,0x0200,
0x0200,0x0010,0x8010,0x0000,0x1020,0x2010,0x2010,0x2010,
0x2010,0x2010,0x1020,0x0000,0x2010,0x2010,0x0220,0x0110,
0x0110,0x0110,0x0110,0x0220,0x0000,0x0000,0x0088,0x2002,
0x2002,0x0000,0x0000,0x0000,0x0000
};
USHORT chip plr2gfx[] =
{
0x1004,0x1004,0x0154,0x0154,0x0154,0x0154,0x0104,0x0088,
0x0000,0x0000,0x1004,0x1004,0x0000,0x0000,0x0900,0x10a0,
0x16a0,0x16a0,0x16a0,0x1020,0x1040,0x0000,0x5820,0xb020,
0xb400,0xb400,0xb400,0x8020,0x4020,0x0000,0x0840,0x1020,
0x16a0,0x16a0,0x16a0,0x1220,0x0a40,0x0000,0x1020,0x1020,
0x0140,0x00a0,0x00a0,0x00a0,0x00a0,0x0140,0x0000,0x1428,
0x1214,0x1114,0x1494,0x1654,0x1524,0x1488,0x0050,0x0ff8,
0x0ff8,0x0088,0x0088,0x0088,0x0088,0x00f8,0x0070,0x0000,
0x0000,0x0ff8,0x0ff8,0x0000,0x0000,0x0600,0x0f40,0x0940,
0x0940,0x0940,0x0fc0,0x0f80,0x0000,0x27c0,0x4fc0,0x4800,
0x4800,0x4800,0x7fc0,0x3fc0,0x0000,0x0780,0x0fc0,0x0940,
0x0940,0x0940,0x0dc0,0x0580,0x0000,0x0fc0,0x0fc0,0x0080,
0x0040,0x0040,0x0040,0x0040,0x0080,0x0000,0x0810,0x0c08,
0x0e08,0x0b08,0x0988,0x08d8,0x0870,0x0020,0x2002,0x2002,
0x0222,0x0222,0x0222,0x0222,0x0202,0x0104,0x0000,0x0000,
0x2002,0x2002,0x0000,0x0000,0x1080,0x2010,0x2010,0x2010,
0x2010,0x2010,0x2020,0x0000,0x8010,0x0010,0x0200,0x0200,
0x0200,0x0010,0x8010,0x0000,0x1020,0x2010,0x2010,0x2010,
0x2010,0x2010,0x1020,0x0000,0x2010,0x2010,0x0220,0x0110,
0x0110,0x0110,0x0110,0x0220,0x0000,0x2244,0x2122,0x20a2,
0x2062,0x2022,0x2202,0x2304,0x0088
};
USHORT chip plr3gfx[] =
{
0x1004,0x1004,0x0154,0x0154,0x0154,0x0154,0x0104,0x0088,
0x0000,0x0000,0x1004,0x1004,0x0000,0x0000,0x0900,0x10a0,
0x16a0,0x16a0,0x16a0,0x1020,0x1040,0x0000,0x5820,0xb020,
0xb400,0xb400,0xb400,0x8020,0x4020,0x0000,0x0840,0x1020,
0x16a0,0x16a0,0x16a0,0x1220,0x0a40,0x0000,0x1020,0x1020,
0x0140,0x00a0,0x00a0,0x00a0,0x00a0,0x0140,0x0000,0x1414,
0x1414,0x14b4,0x14b4,0x14b4,0x1004,0x0848,0x0000,0x0ff8,
0x0ff8,0x0088,0x0088,0x0088,0x0088,0x00f8,0x0070,0x0000,
0x0000,0x0ff8,0x0ff8,0x0000,0x0000,0x0600,0x0f40,0x0940,
0x0940,0x0940,0x0fc0,0x0f80,0x0000,0x27c0,0x4fc0,0x4800,
0x4800,0x4800,0x7fc0,0x3fc0,0x0000,0x0780,0x0fc0,0x0940,
0x0940,0x0940,0x0dc0,0x0580,0x0000,0x0fc0,0x0fc0,0x0080,
0x0040,0x0040,0x0040,0x0040,0x0080,0x0000,0x0808,0x0808,
0x0848,0x0848,0x0848,0x0ff8,0x07b0,0x0000,0x2002,0x2002,
0x0222,0x0222,0x0222,0x0222,0x0202,0x0104,0x0000,0x0000,
0x2002,0x2002,0x0000,0x0000,0x1080,0x2010,0x2010,0x2010,
0x2010,0x2010,0x2020,0x0000,0x8010,0x0010,0x0200,0x0200,
0x0200,0x0010,0x8010,0x0000,0x1020,0x2010,0x2010,0x2010,
0x2010,0x2010,0x1020,0x0000,0x2010,0x2010,0x0220,0x0110,
0x0110,0x0110,0x0110,0x0220,0x0000,0x2222,0x2222,0x2302,
0x2302,0x2302,0x2002,0x1004,0x0000
};
struct Image plrids[] = /*player ids*/
{
{ 335,P1DY,15,55,3, plr1gfx, 7,0, &plrids[1] },
{ 335,P2DY,15,55,3, plr2gfx, 7,0, &plrids[2] },
{ 335,P3DY,15,55,3, plr3gfx, 7,0, NULL }
};
/* graphics data for card symbols, numbers etc. */
USHORT
chip blacka[] = { 0x3000,0x4800,0x8400,0xfc00,0x8400,0x8400,0x8400 },
chip black2[] = { 0x7800,0x8400,0x0800,0x1000,0x2000,0x4000,0xfc00 },
chip black3[] = { 0xfc00,0x0800,0x1000,0x3c00,0x0400,0x0400,0xf800 },
chip black4[] = { 0x1800,0x2800,0x4800,0x8800,0xfc00,0x0800,0x0800 },
chip black5[] = { 0xfc00,0x8000,0xf000,0x0800,0x0400,0x0800,0xf000 },
chip black6[] = { 0x3800,0x4000,0x8000,0xf800,0x8400,0x8400,0x7800 },
chip black7[] = { 0xfc00,0x0400,0x0800,0x7c00,0x1000,0x1000,0x2000 },
chip black8[] = { 0x7800,0x8400,0x8400,0x7800,0x8400,0x8400,0x7800 },
chip black9[] = { 0x7800,0x8400,0x8400,0x7c00,0x0400,0x0800,0x3000 },
chip black10[] = { 0x2300,0xe480,0x2480,0x2480,0x2480,0x2480,0xf300 },
chip blackj[] = { 0x7e00,0x0800,0x0800,0x0800,0x0800,0x8800,0x7000 },
chip blackq[] = { 0x7800,0x8400,0x8400,0xb400,0x9c00,0x8c00,0x7a00 },
chip blackk[] = { 0x8c00,0x9000,0xa000,0xc000,0xa000,0x9000,0x8c00 },
chip iblacka[] = { 0x8400,0x8400,0x8400,0xfc00,0x8400,0x4800,0x3000 },
chip iblack2[] = { 0xfc00,0x0800,0x1000,0x2000,0x4000,0x8400,0x7800 },
chip iblack3[] = { 0x7c00,0x8000,0x8000,0xf000,0x2000,0x4000,0xfc00 },
chip iblack4[] = { 0x4000,0x4000,0xfc00,0x4400,0x4800,0x5000,0x6000 },
chip iblack5[] = { 0x3c00,0x4000,0x8000,0x4000,0x3c00,0x0400,0xfc00 },
chip iblack6[] = { 0x7800,0x8400,0x8400,0x7c00,0x0400,0x0800,0x7000 },
chip iblack7[] = { 0x1000,0x2000,0x2000,0xf800,0x4000,0x8000,0xfc00 },
chip iblack8[] = { 0x7800,0x8400,0x8400,0x7800,0x8400,0x8400,0x7800 },
chip iblack9[] = { 0x3000,0x4000,0x8000,0xf800,0x8400,0x8400,0x7800 },
chip iblack10[] = { 0x6780,0x9200,0x9200,0x9200,0x9200,0x9380,0x6200 },
chip iblackj[] = { 0x1c00,0x2200,0x2000,0x2000,0x2000,0x2000,0xfc00 },
chip iblackq[] = { 0xbc00,0x6200,0x7200,0x5a00,0x4200,0x4200,0x3c00 },
chip iblackk[] = { 0xc400,0x2400,0x1400,0x0c00,0x1400,0x2400,0xc400 },
chip ireda[] = { 0x7800,0x7800,0x7800,0x0000,0x7800,0xb400,0xcc00,0x8400,
0x8400,0x8400,0xfc00,0x8400,0x4800,0x3000 },
chip ired2[] = { 0x0000,0xf400,0xec00,0xdc00,0xbc00,0x7800,0x8400,0xfc00,
0x0800,0x1000,0x2000,0x4000,0x8400,0x7800 },
chip ired3[] = { 0x8000,0x7c00,0x7c00,0x0c00,0xdc00,0xbc00,0x0000,0x7c00,
0x8000,0x8000,0xf000,0x2000,0x4000,0xfc00 },
chip ired4[] = { 0xbc00,0xbc00,0x0000,0xb800,0xb400,0xac00,0x9c00,0x4000,
0x4000,0xfc00,0x4400,0x4800,0x5000,0x6000 },
chip ired5[] = { 0xc000,0xbc00,0x7c00,0xbc00,0xc000,0xf800,0x0000,0x3c00,
0x4000,0x8000,0x4000,0x3c00,0x0400,0xfc00 },
chip ired6[] = { 0x8400,0x7800,0x7800,0x8000,0xf800,0xf400,0x8c00,0x7800,
0x8400,0x8400,0x7c00,0x0400,0x0800,0x7000 },
chip ired7[] = { 0xec00,0xdc00,0xdc00,0x0400,0xbc00,0x7c00,0x0000,0x1000,
0x2000,0x2000,0xf800,0x4000,0x8000,0xfc00 },
chip ired8[] = { 0x8400,0x7800,0x7800,0x8400,0x7800,0x7800,0x8400,0x7800,
0x8400,0x8400,0x7800,0x8400,0x8400,0x7800 },
chip ired9[] = { 0xcc00,0xbc00,0x7c00,0x0400,0x7800,0x7800,0x8400,0x3000,
0x4000,0x8000,0xf800,0x8400,0x8400,0x7800 },
chip ired10[] = { 0x9800,0x6d80,0x6d80,0x6d80,0x6d80,0x6c00,0x9d80,0x6780,
0x9200,0x9200,0x9200,0x9200,0x9380,0x6200 },
chip iredj[] = { 0xe200,0xdc00,0xde00,0xde00,0xde00,0xde00,0x0200,0x1c00,
0x2200,0x2000,0x2000,0x2000,0x2000,0xfc00 },
chip iredq[] = { 0x4200,0x9c00,0x8c00,0xa400,0xbc00,0xbc00,0xc200,0xbc00,
0x6200,0x7200,0x5a00,0x4200,0x4200,0x3c00 },
chip iredk[] = { 0x3800,0xd800,0xe800,0xf000,0xe800,0xd800,0x3800,0xc400,
0x2400,0x1400,0x0c00,0x1400,0x2400,0xc400 },
chip reda[] = { 0xcc00,0xb400,0x7800,0x0000,0x7800,0x7800,0x7800,0x3000,
0x4800,0x8400,0xfc00,0x8400,0x8400,0x8400 },
chip red2[] = { 0x8400,0x7800,0xf400,0xec00,0xdc00,0xbc00,0x0000,0x7800,
0x8400,0x0800,0x1000,0x2000,0x4000,0xfc00 },
chip red3[] = { 0x0000,0xf400,0xec00,0xc000,0xf800,0xf800,0x0400,0xfc00,
0x0800,0x1000,0x3c00,0x0400,0x0400,0xf800 },
chip red4[] = { 0xe400,0xd400,0xb400,0x7400,0x0000,0xf400,0xf400,0x1800,
0x2800,0x4800,0x8800,0xfc00,0x0800,0x0800 },
chip red5[] = { 0x0000,0x7c00,0x0c00,0xf400,0xf800,0xf400,0x0c00,0xfc00,
0x8000,0xf000,0x0800,0x0400,0x0800,0xf000 },
chip red6[] = { 0xc400,0xbc00,0x7c00,0x0400,0x7800,0x7800,0x8400,0x3800,
0x4000,0x8000,0xf800,0x8400,0x8400,0x7800 },
chip red7[] = { 0x0000,0xf800,0xf400,0x8000,0xec00,0xec00,0xdc00,0xfc00,
0x0400,0x0800,0x7c00,0x1000,0x1000,0x2000 },
chip red8[] = { 0x8400,0x7800,0x7800,0x8400,0x7800,0x7800,0x8400,0x7800,
0x8400,0x8400,0x7800,0x8400,0x8400,0x7800 },
chip red9[] = { 0x8400,0x7800,0x7800,0x8000,0xf800,0xf400,0xcc00,0x7800,
0x8400,0x8400,0x7c00,0x0400,0x0800,0x3000 },
chip red10[] = { 0xdc80,0x1b00,0xdb00,0xdb00,0xdb00,0xdb00,0x0c80,0x2300,
0xe480,0x2480,0x2480,0x2480,0x2480,0xf300 },
chip redj[] = { 0x8000,0xf600,0xf600,0xf600,0xf600,0x7600,0x8e00,0x7e00,
0x0800,0x0800,0x0800,0x0800,0x8800,0x7000 },
chip redq[] = { 0x8600,0x7a00,0x7a00,0x4a00,0x6200,0x7200,0x8400,0x7800,
0x8400,0x8400,0xb400,0x9c00,0x8c00,0x7a00 },
chip redk[] = { 0x7000,0x6c00,0x5c00,0x3c00,0x5c00,0x6c00,0x7000,0x8c00,
0x9000,0xa000,0xc000,0xa000,0x9000,0x8c00 },
chip club[] = { 0x0800,0x1c00,0x1c00,0x6b00,0xff80,0x6b00,0x0800,0x3e00 },
chip diamond[] = { 0xee00,0xc600,0x8200,0x0000,0x0000,0x8200,0xc600,0xee00,
0x1000,0x3800,0x7c00,0xfe00,0xfe00,0x7c00,0x3800,0x1000 },
chip heart[] = { 0x9c80,0x0800,0x0000,0x0000,0x8080,0xc180,0xe380,0xf780,
0x6300,0xf780,0xff80,0xff80,0x7f00,0x3e00,0x1c00,0x0800 },
chip spade[] = { 0x0800,0x1c00,0x3e00,0x7f00,0xff80,0xff80,0x0800,0x3e00 },
chip iclub[] = { 0x3e00,0x0800,0x6b00,0xff80,0x6b00,0x1c00,0x1c00,0x0800 },
chip idiamond[] = { 0xee00,0xc600,0x8200,0x0000,0x0000,0x8200,0xc600,0xee00,
0x1000,0x3800,0x7c00,0xfe00,0xfe00,0x7c00,0x3800,0x1000 },
chip ispade[] = { 0x3e00,0x0800,0xff80,0xff80,0x7f00,0x3e00,0x1c00,0x0800 },
chip iheart[] = { 0xf780,0xe380,0xc180,0x8080,0x0000,0x0000,0x0800,0x9c80,
0x0800,0x1c00,0x3e00,0x7f00,0xff80,0xff80,0xf780,0x6300 },
chip edge[] =
{
0x0fff,0xe800,0x3fff,0xb800,0x7fff,0x7800,0x7fff,0x7800,
0xfffe,0xf800,0xfffe,0xf800,0xfffe,0xf800,0xfffe,0xf800,
0xfffe,0xf800,0xfffe,0xf800,0xfffe,0xf800,0xfffe,0xf800,
0xfffe,0xf800,0xfffe,0xf800,0xfffe,0xf800,0xfffe,0xf800,
0xfffe,0xf800,0xfffe,0xf800,0xfffe,0xf800,0xfffe,0xf800,
0xfffe,0xf800,0xfffe,0xf800,0xfffe,0xf800,0xfffe,0xf800,
0xfffe,0xf800,0xfffe,0xf800,0xfffe,0xf800,0xfffe,0xf800,
0xfffe,0xf800,0xfffe,0xf800,0xfffe,0xf800,0xfffe,0xf800,
0xfffe,0xf800,0xfffe,0xf800,0xfffe,0xf800,0xfffe,0xf800,
0xfffe,0xf800,0xfffe,0xf800,0xfffe,0xf800,0xfffe,0xf800,
0xfffe,0xf800,0xfffe,0xf800,0xfffe,0xf800,0xfffe,0xf800,
0x7fff,0x7800,0x7fff,0x7800,0x3fff,0xb800,0x0fff,0xe800,
0x0000,0x1000,0x0000,0x4000,0x0000,0x8000,0x0000,0x8000,
0x0001,0x0000,0x0001,0x0000,0x0001,0x0000,0x0001,0x0000,
0x0001,0x0000,0x0001,0x0000,0x0001,0x0000,0x0001,0x0000,
0x0001,0x0000,0x0001,0x0000,0x0001,0x0000,0x0001,0x0000,
0x0001,0x0000,0x0001,0x0000,0x0001,0x0000,0x0001,0x0000,
0x0001,0x0000,0x0001,0x0000,0x0001,0x0000,0x0001,0x0000,
0x0001,0x0000,0x0001,0x0000,0x0001,0x0000,0x0001,0x0000,
0x0001,0x0000,0x0001,0x0000,0x0001,0x0000,0x0001,0x0000,
0x0001,0x0000,0x0001,0x0000,0x0001,0x0000,0x0001,0x0000,
0x0001,0x0000,0x0001,0x0000,0x0001,0x0000,0x0001,0x0000,
0x0001,0x0000,0x0001,0x0000,0x0001,0x0000,0x0001,0x0000,
0x0000,0x8000,0x0000,0x8000,0x0000,0x4000,0x0000,0x1000
},
chip backpat[] =
{
0xffff,0xffff,0xffff,0xc000,0xffff,0x800f,0xffff,0xc000,
0xffff,0x840f,0xffff,0xc000,0xffff,0xe0ff,0xffff,0xc000,
0xfd3f,0xf83f,0xff97,0xc000,0xf6df,0xce0f,0xff6d,0xc000,
0xc93f,0x9dcf,0xff92,0xc000,0xc93f,0x9c3f,0xff92,0x4000,
0xb6df,0xcf9f,0xff6d,0xc000,0xc93f,0xe3cf,0xff92,0x4000,
0x493f,0xb00f,0xff92,0x4000,0xb6df,0x8c1f,0xff6d,0x8000,
0x493f,0x83ff,0xff92,0x4000,0x493f,0xb06f,0xff92,0x4000,
0xb6df,0xfc0f,0xff6d,0x8000,0x493f,0x8f8f,0xff92,0x4000,
0x493f,0x83ef,0xff92,0x4000,0xb6df,0xc0ff,0xff6d,0x8000,
0x493f,0xe43f,0xff92,0x4000,0x493f,0xf30f,0xff92,0x4000,
0xb6df,0x81cf,0xff6d,0x8000,0x493f,0x8fff,0xff92,0x4000,
0x493f,0x83ff,0xff92,0x4000,0xb6df,0xf0ff,0xff6d,0x8000,
0x493f,0xfc3f,0xff92,0x4000,0x493f,0xff0f,0xff92,0x4000,
0xb6df,0xffff,0xff6d,0x8000,0x493f,0x800f,0xff92,0x4000,
0x493f,0x840f,0xff92,0x4000,0xb6de,0x60ff,0xff6d,0x8000,
0x493e,0x183f,0xff92,0x4000,0x493f,0x860f,0xff92,0x4000,
0xb6de,0x65cf,0xff6d,0x8000,0x493e,0x1aff,0x5f92,0x4000,
0x493f,0x875f,0xff92,0x4000,0xb6df,0xe5ab,0xff6d,0x8000,
0x493f,0xfaf7,0xff92,0x4000,0x493f,0xff5f,0xff92,0x4000,
0xb6df,0xffab,0xff6d,0x8000,0x493f,0xfff7,0x3f92,0x4000,
0xc93f,0xfffb,0xff92,0x4000,0xb6df,0xffe0,0xff6d,0xc000,
0xc93f,0xff87,0x3f92,0xc000,0xfd3f,0xff98,0x3f97,0xc000,
0xffff,0xffe0,0xffff,0xc000,0xffff,0xff87,0xffff,0xc000,
0xffff,0xff9f,0xffff,0xc000,0x0000,0x7ff0,0x0000,0x0000,
0x0000,0x0001,0x7000,0x0000,0x0000,0x0401,0x2000,0x0000,
0x0000,0x00c0,0xe000,0x0000,0x02c0,0x3030,0x0068,0x0000,
0x0920,0x4200,0xf092,0x0000,0x36c0,0x01c1,0x006d,0x0000,
0x36c0,0x1821,0xf06d,0x8000,0x4920,0x0c10,0x0092,0x0000,
0x36c0,0x43c1,0xf06d,0x8000,0xb6c0,0x3000,0x006d,0x8000,
0x4920,0x0c01,0x0092,0x4000,0xb6c0,0x0391,0xf06d,0x8000,
0xb6c0,0x0061,0x006d,0x8000,0x4920,0x7000,0x0092,0x4000,
0xb6c0,0x0c01,0xe06d,0x8000,0xb6c0,0x0300,0x106d,0x8000,
0x4920,0x00c1,0xe092,0x4000,0xb6c0,0x0030,0x006d,0x8000,
0xb6c0,0x7000,0x806d,0x8000,0x4920,0x0001,0x4092,0x4000,
0xb6c0,0x0c01,0xf06d,0x8000,0xb6c0,0x0300,0x006d,0x8000,
0x4920,0x00c0,0xf092,0x4000,0xb6c0,0x0031,0x006d,0x8000,
0xb6c0,0x0000,0xc06d,0x8000,0x4920,0x7ff1,0x0092,0x4000,
0xb6c0,0x0000,0xf06d,0x8000,0xb6c1,0x8400,0x006d,0x8000,
0x4921,0xe0c0,0xe092,0x4000,0xb6c1,0xf831,0x106d,0x8000,
0xb6c1,0xfe00,0xe06d,0x8000,0x4921,0xfb80,0x0092,0x4000,
0xb6c1,0xfd70,0x206d,0x8000,0xb6c0,0x7ebd,0x106d,0x8000,
0x4920,0x1bd7,0xe092,0x4000,0xb6c0,0x0568,0xc06d,0x8000,
0xb6c0,0x00bc,0x306d,0x8000,0x4920,0x0057,0x0092,0x4000,
0xb6c0,0x0008,0x006d,0x8000,0x36c0,0x0018,0x306d,0x8000,
0x4920,0x0060,0x0092,0x0000,0x36c0,0x0007,0x006d,0x0000,
0x02c0,0x0018,0x0068,0x0000,0x0000,0x0060,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x7ff0,0x0000,0x0000,0x0000,0x7ff0,0x0000,0x0000,
0x0000,0x7ff0,0x0000,0x0000,0x0000,0x1fc0,0x0000,0x0000,
0x0000,0x37f0,0x0000,0x0000,0x0000,0x73f0,0x0000,0x0000,
0x0000,0x63f0,0x0000,0x0000,0x0000,0x7be0,0x0000,0x0000,
0x0000,0x3c70,0x0000,0x0000,0x0000,0x5ff0,0x0000,0x0000,
0x0000,0x7ff0,0x0000,0x0000,0x0000,0x7fe0,0x0000,0x0000,
0x0000,0x7f90,0x0000,0x0000,0x0000,0x4ff0,0x0000,0x0000,
0x0000,0x73f0,0x0000,0x0000,0x0000,0x7c70,0x0000,0x0000,
0x0000,0x7f10,0x0000,0x0000,0x0000,0x3fc0,0x0000,0x0000,
0x0000,0x1bf0,0x0000,0x0000,0x0000,0x7cf0,0x0000,0x0000,
0x0000,0x7e30,0x0000,0x0000,0x0000,0x7c00,0x0000,0x0000,
0x0000,0x7f00,0x0000,0x0000,0x0000,0x0fc0,0x0000,0x0000,
0x0000,0x03f0,0x0000,0x0000,0x0000,0x00f0,0x0000,0x0000,
0x0000,0x7ff0,0x0000,0x0000,0x0000,0x7ff0,0x0000,0x0000,
0x0001,0xfff0,0x0000,0x0000,0x0000,0x7fc0,0x0000,0x0000,
0x0000,0x1ff0,0x0000,0x0000,0x0001,0x87f0,0x0000,0x0000,
0x0000,0x65b0,0x0000,0x0000,0x0000,0x1af0,0x8000,0x0000,
0x0000,0x075c,0x0000,0x0000,0x0000,0x05ab,0x0000,0x0000,
0x0000,0x02f7,0xc000,0x0000,0x0000,0x015f,0xf000,0x0000,
0x0000,0x002b,0xf000,0x0000,0x0000,0x0017,0x3000,0x0000,
0x0000,0x001f,0xf000,0x0000,0x0000,0x006a,0xf000,0x0000,
0x0000,0x0077,0x3000,0x0000,0x0000,0x007d,0x0000,0x0000,
0x0000,0x006a,0x0000,0x0000,0x0000,0x0070,0x0000,0x0000,
0x0000,0x0060,0x0000,0x0000
},
chip ebackpat[] =
{
0xfd00,0xf6c0,0xc900,0xc900,0xb6c0,0xc900,0x4900,0xb6c0,
0x4900,0x4900,0xb6c0,0x4900,0x4900,0xb6c0,0x4900,0x4900,
0xb6c0,0x4900,0x4900,0xb6c0,0x4900,0x4900,0xb6c0,0x4900,
0x4900,0xb6c0,0x4900,0x4900,0xb6c0,0x4900,0x4900,0xb6c0,
0x4900,0x4900,0xb6c0,0x4900,0xc900,0xb6c0,0xc900,0xfd00,
0x02c0,0x0900,0x36c0,0x36c0,0x4900,0x36c0,0xb6c0,0x4900,
0xb6c0,0xb6c0,0x4900,0xb6c0,0xb6c0,0x4900,0xb6c0,0xb6c0,
0x4900,0xb6c0,0xb6c0,0x4900,0xb6c0,0xb6c0,0x4900,0xb6c0,
0xb6c0,0x4900,0xb6c0,0xb6c0,0x4900,0xb6c0,0xb6c0,0x4900,
0xb6c0,0xb6c0,0x4900,0xb6c0,0x36c0,0x4900,0x36c0,0x02c0
},
chip blank[] =
{
0x0fff,0xffff,0xffff,0xfff0,0x3fff,0xffff,0xffff,0xfffc,
0x7fff,0xffff,0xffff,0xfffe,0x7fff,0xffff,0xffff,0xfffe,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,
0x7fff,0xffff,0xffff,0xfffe,0x7fff,0xffff,0xffff,0xfffe,
0x3fff,0xffff,0xffff,0xfffc,0x0fff,0xffff,0xffff,0xfff0
};
USHORT chip redjpic[] =
{
0x0000,0x0000,0x0000,0x7f92,0x495f,0xe000,0x7fc0,0x03a1,
0xc000,0x7fff,0xffde,0x0000,0x7fe3,0x3fe1,0xe000,0x7fef,
0xfffe,0x0000,0x7ff7,0xffff,0x4000,0x7ff0,0x37ff,0x2000,
0x3e03,0xe0ff,0x8000,0x181f,0xffc1,0xc000,0x0841,0xff21,
0x2000,0x187c,0x0fe1,0x8000,0x29df,0xfe99,0x4000,0x4ef6,
0xf10f,0x2000,0x1b3f,0xf20d,0x8000,0x2b43,0xdc59,0x4000,
0x49a7,0x5499,0x2000,0x199f,0x5719,0x8000,0x29bd,0x1519,
0x4000,0x298d,0x45d9,0x4000,0x198d,0x5799,0x8000,0x4993,
0x5e59,0x2000,0x29a3,0x5c2d,0x4000,0x1b04,0xffcd,0x8000,
0x4f09,0xf6f7,0x2000,0x2997,0xffb9,0x4000,0x187f,0x03e1,
0x8000,0x484f,0xf821,0x0000,0x383f,0xff80,0x8000,0x1ff0,
0x7c07,0xc000,0x4ffe,0xc0ff,0xe000,0x2fff,0xfeff,0xe000,
0x07ff,0xff7f,0xe000,0x787f,0xcc7f,0xe000,0x07bf,0xffff,
0xe000,0x385c,0x003f,0xe000,0x7fa9,0x249f,0xe000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x006d,0xb6a0,0x0000,
0x003f,0xfc5e,0x2000,0x003f,0xfc21,0xe000,0x0000,0x001e,
0x0000,0x0002,0x0001,0xe000,0x0003,0x0000,0x2000,0x0000,
0x0000,0x0000,0x4000,0x0000,0x0000,0x6001,0xf900,0x0000,
0x71c0,0x0230,0xc000,0x67c0,0x043e,0x6000,0x47a0,0x101e,
0x2000,0x05c9,0x2016,0x0000,0x02be,0x8014,0x0000,0x1281,
0x0028,0x8000,0x3142,0x0028,0xc000,0x6148,0x0028,0x6000,
0x4140,0x6028,0x2000,0x4140,0x3028,0x2000,0x6140,0x0128,
0x6000,0x3140,0x0428,0xc000,0x1140,0x0814,0x8000,0x0280,
0x17d4,0x0000,0x0680,0x493a,0x0000,0x4780,0x805e,0x2000,
0x67c2,0x003e,0x6000,0x30c4,0x0038,0xe000,0x0009,0xf800,
0x6000,0x0000,0x0000,0x2000,0x0000,0x0000,0x0000,0x4000,
0x0c00,0x0000,0x7800,0x0400,0x0000,0x0780,0x0000,0x0000,
0x7843,0xffc0,0x0000,0x47a3,0xffc0,0x0000,0x0056,0xdb60,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xf000,0x8000,
0x0040,0x3000,0x8000,0x0020,0x5000,0x8000,0x001e,0x1000,
0x803c,0xde01,0xf000,0x8030,0x0e00,0x1000,0x8078,0x0e81,
0x9000,0xc0ff,0xcf81,0xd000,0xa1fc,0x1fe1,0x7000,0x9ffe,
0x06ff,0xb000,0x8e3f,0xfdcf,0x1000,0x883f,0xfbc1,0x1000,
0x9807,0xefe1,0x9000,0xba00,0x5fe9,0xd000,0xed41,0x7feb,
0x7000,0xcd7e,0xafd7,0x3000,0x8ebd,0xafd7,0x1000,0x8eb6,
0xabd7,0x1000,0x9eba,0x8bd7,0x9000,0x9eba,0x8bd7,0x9000,
0x8ebe,0xaed7,0x1000,0x8ebe,0xabd7,0x1000,0xcebf,0xb7eb,
0x3000,0xed7f,0xe82b,0x7000,0xb97f,0xa005,0xd000,0x987f,
0x7e01,0x9000,0x883d,0xffc1,0x1000,0x8f3b,0xffc7,0x1000,
0xdff6,0x07ff,0x9000,0xe87f,0x83f8,0x5000,0xb81f,0x3ff0,
0x3000,0x9817,0x01e0,0x1000,0x8007,0x00c0,0x1000,0xf807,
0xb3c0,0x1000,0x8780,0x0000,0x1000,0xa040,0x0000,0x1000,
0xc020,0x0000,0x1000,0xffff,0xffff,0xf000
};
USHORT chip blackjpic[] =
{
0x0000,0x0000,0x0000,0x7ff9,0x249f,0xe000,0x7ffc,0x003e,
0x2000,0x7fff,0xffff,0xe000,0x7fff,0xffff,0xe000,0x7fff,
0xffff,0xe000,0x7fff,0xfffe,0xa000,0x7fff,0xff7f,0xe000,
0x7fff,0xffff,0xe000,0x7fff,0xffff,0xe000,0x784f,0xf824,
0x8000,0x787f,0x03e2,0x4000,0x79ff,0xfffa,0x4000,0x7f7f,
0xfff7,0x2000,0x7f7f,0xffcd,0x8000,0x7dbf,0xffed,0xe000,
0x7f9f,0xffd9,0xe000,0x7f8f,0xffd9,0xe000,0x7f8f,0xffd9,
0xe000,0x79bf,0xff1f,0xe000,0x79bf,0xff1f,0xe000,0x79bf,
0xff9f,0xe000,0x7b7f,0xffdb,0xe000,0x1b3f,0xffef,0xe000,
0x4eff,0xffef,0xe000,0x25ff,0xfff9,0xe000,0x247c,0x0fe1,
0xe000,0x1241,0xff21,0xe000,0x7fff,0xffff,0xe000,0x7fff,
0xffff,0xe000,0x7fef,0xffff,0xe000,0x57ff,0xffff,0xe000,
0x7fff,0xffff,0xe000,0x7fff,0xffff,0xe000,0x7fff,0xffff,
0xe000,0x47c0,0x03ff,0xe000,0x7f92,0x49ff,0xe000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0007,0xffe0,0x0000,
0x0003,0xffc1,0xc000,0x0003,0xffc0,0x0000,0x0000,0x0680,
0x0000,0x0000,0x00c0,0x0000,0x0000,0x0381,0x4000,0x0000,
0x0400,0x0000,0x0000,0x0000,0x0000,0x07c9,0xf87c,0x0000,
0x78f4,0x07fb,0x6000,0x37c2,0xfc3d,0xa000,0x37e8,0x805d,
0xa000,0x36f7,0x4938,0xc000,0x12fb,0x17d4,0x6000,0x595c,
0x4bd5,0x8000,0x5d4d,0x55a9,0xe000,0x6741,0x5169,0xe000,
0x7945,0x7429,0xe000,0x7945,0xd429,0xe000,0x7969,0x542e,
0x6000,0x795a,0x532b,0xa000,0x1abd,0x53a9,0xa000,0x62be,
0x8df4,0x8000,0x35c9,0x2ef6,0xc000,0x5ba0,0x117e,0xc000,
0x5bc3,0xe43e,0xc000,0x6dfe,0x0231,0xe000,0x03e1,0xf93e,
0x0000,0x0000,0x0000,0x0000,0x0002,0x0000,0x0000,0x281c,
0x0000,0x0000,0x0030,0x0000,0x0000,0x0016,0x0000,0x0000,
0x003f,0xfc00,0x0000,0x383f,0xfc00,0x0000,0x007f,0xfe00,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xf000,0x8000,
0x0001,0xd000,0x8000,0x0002,0x3000,0x8000,0x0001,0xd000,
0x8007,0xf000,0x9000,0x8007,0xc001,0xd000,0x8017,0xc002,
0xb000,0x801f,0x0081,0xd000,0x807f,0xfffc,0x9000,0x8036,
0x0783,0xf000,0x870b,0xf804,0x9000,0xc83d,0x03c2,0x5000,
0xc817,0x7e02,0x5000,0xc908,0xa007,0x3000,0xed04,0xe82b,
0x9000,0xa6a3,0x142a,0x7000,0xa2b2,0x0a56,0x1000,0x98bc,
0x0696,0x1000,0x86b8,0x01d6,0x1000,0x86b8,0x01d6,0x1000,
0x8696,0x03d1,0x9000,0x86a5,0x04d4,0x5000,0xe542,0x8c56,
0x5000,0x9d41,0x720b,0x7000,0xca00,0x5109,0x3000,0xa407,
0xee81,0x3000,0xa43c,0x1bc1,0x3000,0x9201,0xfdce,0x1000,
0xfc1e,0x06c0,0x1000,0x93ff,0xffe0,0x1000,0xb810,0x0f80,
0x1000,0xd400,0x3e80,0x1000,0xb800,0x3e00,0x1000,0x9000,
0xfe00,0x1000,0xb800,0x0000,0x1000,0xc400,0x0000,0x1000,
0xb800,0x0000,0x1000,0xffff,0xffff,0xf000
};
USHORT chip redqpic[] =
{
0x0000,0x0000,0x0000,0x7fff,0x491f,0xe000,0x7ffc,0x9c8f,
0x6000,0x63f9,0x7f07,0xe000,0x49f2,0x18c3,0xe000,0x63f2,
0xefc1,0xe000,0x77e6,0xef84,0xe000,0x7be1,0x43a4,0x6000,
0x71f4,0xbc52,0x2000,0x68af,0xc3fd,0x8000,0x68bf,0xfffe,
0x6000,0x775f,0xffff,0x0000,0x7f43,0xc790,0x0000,0x7e80,
0xcc0c,0x0000,0x6d79,0x9f3f,0x0000,0x567f,0xfe0f,0xe000,
0x0b1f,0xfce1,0xa000,0x444f,0xfcf1,0x4000,0x28e0,0x0000,
0xa000,0x5000,0x0071,0x4000,0x28f3,0xff22,0x2000,0x5873,
0xff8d,0x0000,0x7f07,0xffe6,0xa000,0x0fcf,0x99eb,0x6000,
0x0303,0x3017,0xe000,0x009e,0x3c2f,0xe000,0x0fff,0xffae,
0xe000,0x67ff,0xffd1,0x6000,0x1bfc,0x3f51,0x6000,0x44a3,
0xd2f8,0xe000,0x625c,0x287d,0xe000,0x721f,0x767e,0xe000,
0x783f,0x74fc,0x6000,0x7c31,0x84f9,0x2000,0x7e0f,0xe9fc,
0x6000,0x6f13,0x93ff,0xe000,0x7f89,0x2fff,0xe000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0078,0x0000,
0x0003,0x0038,0x0000,0x1c06,0x001e,0x0000,0x360c,0x000e,
0x0000,0x1c0e,0x0007,0x8000,0x001e,0x0003,0x0000,0x0018,
0x0001,0x8000,0x0000,0x0000,0xc000,0x0000,0x0000,0x6000,
0x0080,0x0000,0x0000,0x075e,0x007f,0x0000,0x0f5f,0x83f0,
0x0000,0x06bf,0x878c,0x0000,0x0107,0x0803,0x0000,0x0078,
0x0600,0xe000,0x3007,0xf802,0x0000,0x3000,0x0006,0x0000,
0x0603,0x6c07,0x0000,0x0e01,0x2406,0x0000,0x0600,0x0000,
0xc000,0x0401,0xfe00,0xc000,0x7006,0x01e0,0x0000,0x0c01,
0x0e08,0x0000,0x031e,0x1fd6,0x0000,0x00fc,0x1faf,0x0000,
0x0fe0,0x07ae,0x0000,0x0000,0x0010,0x0000,0x6000,0x0000,
0x0000,0x3000,0x0000,0x0000,0x1800,0x0180,0x0000,0x0c00,
0x0780,0x0000,0x1e00,0x0703,0x8000,0x0700,0x0306,0xc000,
0x0780,0x0603,0x8000,0x01c0,0x0c00,0x0000,0x01e0,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xf000,0x8003,
0xb686,0xf000,0x8004,0x6347,0xf000,0x8009,0x80e1,0x9000,
0x8813,0xe731,0xf000,0x8011,0x1038,0x7000,0x8821,0x1078,
0xd000,0x8426,0xbc5a,0x1000,0x8e3b,0x43ad,0x1000,0x9f7e,
0xffbe,0x1000,0x9f77,0xdeef,0x9000,0x88a1,0x7780,0xf000,
0x90a0,0x7c0f,0xf000,0xf940,0x7873,0xf000,0xfef8,0xf7fc,
0xf000,0xff87,0xf9ff,0x1000,0xcff8,0x07fd,0xf000,0xcfff,
0xfff9,0xf000,0xf9fc,0x93f8,0xf000,0xf1fe,0xdbf9,0xf000,
0xf9ff,0xffff,0x3000,0xfbfe,0x01ff,0x3000,0x8ff9,0xfe1f,
0xf000,0xf3fe,0xf1f7,0xf000,0xfce1,0xe029,0xf000,0xff03,
0xe050,0x9000,0xf01e,0xe851,0x1000,0x9f77,0xbeef,0x9000,
0x87df,0xf7ef,0x9000,0x8b5c,0x2dc7,0x1000,0x85a3,0xd642,
0x1000,0xb1e0,0x8841,0x1000,0xe1c0,0x8880,0x1000,0xf8ce,
0x7c81,0x1000,0x9870,0x1900,0x1000,0xfe2c,0x6200,0x1000,
0xf616,0xdc00,0x1000,0xffff,0xffff,0xf000
};
USHORT chip blackqpic[] =
{
0x0000,0x0000,0x0000,0x7fff,0x08c7,0xe000,0x7ffe,0x1ce7,
0xe000,0x7ff8,0x7f71,0xe000,0x77e2,0x1879,0xe000,0x7fc6,
0xefbc,0x0000,0x678e,0xef7e,0x2000,0x6f1f,0x435f,0xe000,
0x473f,0xa0ef,0xe000,0x53ef,0xbf77,0xe000,0x517d,0xf7ed,
0xe000,0x67ff,0xffff,0xa000,0x7303,0x93c1,0x8000,0x6982,
0x7c83,0x0000,0x55af,0x26af,0xe000,0x2bec,0xf4b3,0x2000,
0x5a60,0x007e,0xa000,0x25f7,0xfecd,0x2000,0x4535,0x9afa,
0x2000,0x45f5,0x9aca,0x2000,0x4b37,0xfefa,0x4000,0x57e0,
0x0065,0xa000,0x4cd2,0xf37d,0x4000,0x7f56,0x4f5a,0xa000,
0x0c13,0xe419,0x6000,0x183c,0x9c0c,0xe000,0x5fff,0xfffe,
0x6000,0x7b7e,0xfbe8,0xa000,0x7eef,0xdf7c,0xa000,0x7f70,
0x5fce,0x2000,0x7fac,0x2f8f,0x6000,0x47ef,0x771e,0x6000,
0x03df,0x763f,0xe000,0x79e1,0x847e,0xe000,0x78ef,0xe1ff,
0xe000,0x7e73,0x87ff,0xe000,0x7e31,0x0fff,0xe000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xc0f8,0x0000,
0x0001,0x80f8,0x0000,0x0007,0x007e,0x0000,0x081c,0x007e,
0x0000,0x003a,0x003f,0xe000,0x0076,0x003f,0xc000,0x00ef,
0x001f,0x0000,0x00df,0x800f,0x8000,0x0000,0x0007,0xc000,
0x0000,0x0001,0xe000,0x01ff,0xffff,0xa000,0x0efc,0x003f,
0x8000,0x277c,0x007f,0x0000,0x5378,0x01f0,0x0000,0x2818,
0x03cc,0x0000,0x5180,0x0000,0x4000,0x1800,0x0030,0xc000,
0x38c0,0x6001,0xc000,0x3800,0x6031,0xc000,0x30c0,0x0001,
0x8000,0x2000,0x0018,0xa000,0x033c,0x0181,0x4000,0x00f8,
0x01ec,0xa000,0x0fe0,0x03ee,0x4000,0x1fc0,0x03f7,0x0000,
0x5fff,0xfff8,0x0000,0x7800,0x0000,0x0000,0x3e00,0x0000,
0x0000,0x1f00,0x1fb0,0x0000,0x0f80,0x0f70,0x0000,0x3fc0,
0x06e0,0x0000,0x7fc0,0x05c0,0x0000,0x07e0,0x0381,0x0000,
0x07e0,0x0e00,0x0000,0x01f0,0x1800,0x0000,0x01f0,0x3000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xf000,0x8000,
0x3706,0xf000,0x8000,0x6307,0xf000,0x9c00,0x8081,0x9000,
0xb601,0xe781,0xf000,0x9c01,0x1040,0x1000,0x9801,0x1080,
0x1000,0x9000,0xbca0,0x1000,0xb800,0x5f10,0x1000,0xbc7f,
0xfff8,0x1000,0xbfff,0xfffe,0x1000,0x9e00,0x0000,0x5000,
0xb103,0xffc0,0x7000,0xd883,0xff80,0xf000,0xac87,0xfe0f,
0xf000,0xd7e7,0xfc33,0xf000,0xae7f,0xffff,0x3000,0xe3ff,
0x4fce,0x3000,0xc33f,0x1ffc,0x3000,0xc3ff,0x8fcc,0x3000,
0xc73f,0x2ffc,0x7000,0xcfff,0xffe7,0x5000,0xfcc3,0xfe7e,
0xb000,0xff07,0xfe13,0x5000,0xf01f,0xfc11,0xb000,0xe03f,
0xfc08,0xd000,0xa000,0x0007,0x9000,0x87ff,0xffff,0xd000,
0x81ff,0xffe3,0xd000,0x808f,0xa001,0xd000,0x8053,0xd000,
0x9000,0x8010,0x8801,0x9000,0x8020,0x8803,0x9000,0xf81e,
0x7806,0xd000,0x9810,0x1003,0x9000,0xfe0c,0x6000,0x1000,
0xf60e,0xc000,0x1000,0xffff,0xffff,0xf000
};
USHORT chip redkpic[] =
{
0x0000,0x0000,0x0000,0x7fee,0xdbb8,0x5000,0x7ff1,0x0470,
0xd000,0x7fff,0xffe0,0x5000,0x7ff0,0xc040,0x1000,0x7ff3,
0xfa60,0x5000,0x7ff3,0xf830,0xd000,0x7fe0,0x3458,0x5000,
0x7e04,0x0f80,0x1000,0x7ea7,0xfa29,0x1000,0x6852,0x355b,
0x0000,0x122a,0xc0a6,0x8000,0x2797,0x9744,0x4000,0x7fa8,
0x58a2,0xc000,0x1c55,0x6159,0x6000,0x6429,0x8098,0x2000,
0x1de4,0xf959,0x6000,0x672a,0xf931,0xc000,0x1d04,0xbaa0,
0x8000,0x082a,0xe905,0xc000,0x1c64,0xfaa7,0x3000,0x34d4,
0xf93d,0xc000,0x20c8,0x0ca1,0x3000,0x34d4,0x3551,0xc000,
0x1a28,0xd0af,0xf000,0x1117,0x4f4f,0x2000,0x0b28,0x1aa2,
0x4000,0x06d5,0x6250,0xb000,0x44a2,0xff2b,0xf000,0x400f,
0x8103,0xf000,0x50d1,0x603f,0xf000,0x5860,0xfe7f,0xf000,
0x5032,0xfe7f,0xf000,0x4010,0x187f,0xf000,0x503f,0xffff,
0xf000,0x5871,0x047f,0xf000,0x50ee,0xdbbf,0xf000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0005,0xa000,
0x0004,0x510e,0x2000,0x0007,0xff1d,0xa000,0x000c,0x0fba,
0xa000,0x000c,0x879d,0xa000,0x000d,0x07ce,0x2000,0x001c,
0x0fe5,0xa000,0x0007,0xfd80,0xa000,0x00f7,0xfa7d,0x4000,
0x1e73,0xfd7b,0x2000,0x7f7b,0xf6f7,0x9000,0x783f,0xdfe7,
0xd000,0x03bd,0x7deb,0xd000,0x645d,0xfdc5,0xf000,0x1d3d,
0xfdc5,0xf000,0x65ee,0x03c5,0xf000,0x1fee,0x538b,0xd000,
0x678e,0xfb97,0xa000,0x2f4e,0xfb8f,0x3000,0x5e8e,0x53bf,
0xc000,0x7d1e,0x03bd,0x3000,0x7d1d,0xfde5,0xc000,0x7d1d,
0xfdd1,0x3000,0x5ebd,0xf5ee,0x0000,0x5f3f,0xdfe0,0xf000,
0x4f7b,0x7ef7,0xf000,0x26f5,0xfe73,0xc000,0x15f2,0xff78,
0x0000,0x280d,0xff00,0x0000,0x2d3f,0x81c0,0x0000,0x239f,
0x0580,0x0000,0x2dcf,0x0980,0x0000,0x2aef,0x8180,0x0000,
0x2dc7,0xff00,0x0000,0x2384,0x5100,0x0000,0x2d00,0x0000,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xf800,0x801f,
0xffc7,0x9800,0x800a,0xaa8f,0x1800,0x8000,0x001f,0x9800,
0x800f,0x3fbf,0xd800,0x800c,0x059f,0x9800,0x800c,0x07cf,
0x1800,0x801f,0xcba7,0x9800,0x81fb,0xf07f,0xd800,0x9fa8,
0x05aa,0xf800,0xe9dc,0x17dc,0xf800,0x92ac,0x09ae,0x7800,
0xa7d4,0xb15c,0x3800,0xfc6a,0xc2b6,0xb800,0x9bb7,0x036b,
0x5800,0xe3ca,0x02aa,0x1800,0x9a15,0xfd6b,0x5800,0xe13b,
0x0555,0xb800,0x9975,0x56e8,0x7800,0xf0bb,0x5574,0xc800,
0xed55,0x06e4,0x3800,0xd6b5,0xfd42,0xc800,0xc2aa,0x029e,
0x3800,0xd6b6,0x076e,0xc800,0xeb6a,0x1ab1,0xf800,0xe1d4,
0x695f,0x2800,0xf3ac,0x81aa,0x4800,0xf9df,0x41dc,0xb800,
0xfaad,0x00af,0xc800,0xdff0,0x7efc,0x0800,0xcf2e,0x9fc0,
0x0800,0xc79f,0x0180,0x0800,0xcfcd,0x0180,0x0800,0xdfef,
0xe780,0x0800,0xcfc0,0x0000,0x0800,0xc78a,0xaa80,0x0800,
0xcf1f,0xffc0,0x0800,0xffff,0xffff,0xf800
};
USHORT chip blackkpic[] =
{
0x0000,0x0000,0x0000,0x7ff5,0x557e,0xe000,0x7ff8,0x00fc,
0x6000,0x7fff,0xfffc,0x6000,0x7fff,0x80fc,0x6000,0x7ffd,
0xd07c,0x6000,0x7fff,0xc83c,0x6000,0x7fff,0xe03c,0x6000,
0x7ffc,0x000c,0x6000,0x7fff,0x0004,0x6000,0x79ff,0xf03c,
0x2000,0x283f,0xfff8,0x6000,0x5a4f,0xfff8,0x6000,0x5807,
0xb33f,0xe000,0x2f4b,0xcccb,0xa000,0x5901,0xb333,0xc000,
0x36d2,0xfcc7,0xa000,0x56ff,0xdff5,0xe000,0x5907,0xb61f,
0x4000,0x2f86,0xde09,0xa000,0x7aff,0xbff6,0xa000,0x5e33,
0xf4b6,0xc000,0x3ccc,0xd809,0xa000,0x5d33,0x3d2f,0x4000,
0x7fcc,0xde01,0xa000,0x61ff,0xff25,0xa000,0x61ff,0xffc1,
0x4000,0x43c0,0xfff9,0xe000,0x6200,0x0fff,0xe000,0x6300,
0x03ff,0xe000,0x63c0,0x7fff,0xe000,0x63c1,0x3fff,0xe000,
0x63e0,0xbbff,0xe000,0x63f0,0x1fff,0xe000,0x63ff,0xffff,
0xe000,0x63f0,0x01ff,0xe000,0x77ea,0xaaff,0xe000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x000a,0xaa81,0x0000,
0x0003,0xfe02,0x8000,0x0007,0xff03,0x8000,0x0004,0x7f02,
0x8000,0x0004,0x0f83,0x8000,0x0008,0x07c2,0x8000,0x0006,
0x1fc3,0x8000,0x0007,0xfff2,0x8000,0x007e,0xfffb,0x8000,
0x0e3f,0x7ffa,0xc000,0x0fcf,0x7ff7,0x8000,0x0ff7,0xbfee,
0xa000,0x0ff3,0x800f,0xc000,0x0ff1,0x800c,0x2000,0x0ff0,
0x800c,0x0000,0x10f0,0xf01c,0x0000,0x1083,0x2c1e,0x4000,
0x0ffc,0x2bfe,0x0000,0x07fd,0x43ff,0x0000,0x2783,0x4c10,
0x8000,0x0380,0xf0f0,0x8000,0x0300,0x10ff,0x0000,0x4300,
0x18ff,0x0000,0x3f00,0x1cff,0x0000,0x577f,0xdeff,0x0000,
0x1eff,0xef3f,0x0000,0x35ff,0xefc7,0x0000,0x1dff,0xf7e0,
0x0000,0x14ff,0xfe00,0x0000,0x1c3f,0x8600,0x0000,0x143e,
0x0100,0x0000,0x1c1f,0x0200,0x0000,0x140f,0xe200,0x0000,
0x1c0f,0xfe00,0x0000,0x1407,0xfc00,0x0000,0x0815,0x5500,
0x0000,0x0000,0x0000,0x0000,0xffff,0xffff,0xf000,0x8000,
0x0001,0x1000,0x8004,0x0103,0x9000,0x8000,0x0003,0x9000,
0x8000,0x7f03,0x9000,0x8002,0x2f83,0x9000,0x8000,0x37c3,
0x9000,0x8000,0x1fc3,0x9000,0x80fb,0xfff3,0x9000,0x9f81,
0x0007,0xd000,0xf1c0,0x8007,0xb000,0xf030,0x800b,0xf000,
0xf008,0x401b,0xf000,0xf00c,0x7ff7,0xf000,0xf00e,0x7ffb,
0xf000,0xf00f,0x7ff3,0xf000,0xeb0f,0x0fe3,0xf000,0xed7c,
0xd3e5,0xf000,0xf003,0xf401,0xf000,0xf802,0xfc00,0xf000,
0xfa7c,0xb3eb,0x7000,0xfc7f,0x0f0d,0x7000,0xfcff,0xef00,
0xf000,0xfdff,0xe700,0xf000,0xfeff,0xe300,0xf000,0xfd80,
0x2100,0xf000,0xfd00,0x10c0,0xf000,0xde00,0x1038,0xf000,
0xbe00,0x081f,0x9000,0x9cff,0xfdf0,0x1000,0x9c3f,0x8000,
0x1000,0x9c3e,0xc000,0x1000,0x9c1f,0x4400,0x1000,0x9c0f,
0xe000,0x1000,0x9c00,0x0000,0x1000,0x9c08,0x0200,0x1000,
0x8800,0x0000,0x1000,0xffff,0xffff,0xf000
};
/*diamonds:a-k;hearts:a-k;clubs:a-k;spades:a-k*/
struct Image da[] =
{
{ 0,0,64,48,1, blank,1,0, &da[1] },
{ TLNX,TLNY,6,7,2, reda,3,0, &da[2] },
{ BRNX,BRNY,6,7,2, ireda,3,0, &da[3] },
{ P11X,P11Y,7,8,2, diamond,3,0, &da[4] },
{ TLSX,TLSY,7,8,2, diamond,3,0, &da[5]},
{ BRSX,BRSY,7,8,2, idiamond,3,0, NULL }
};
struct Image d2[] =
{
{ 0,0,64,48,1, blank,1,0, &d2[1] },
{ TLNX,TLNY,6,7,2, red2,3,0, &d2[2] },
{ BRNX,BRNY,6,7,2, ired2,3,0, &d2[3] },
{ P14X,P14Y,7,8,2, diamond,3,0, &d2[4] },
{ P15X,P15Y,7,8,2, idiamond,3,0, &da[4] }
};
struct Image d3[] =
{
{ 0,0,64,48,1, blank,1,0, &d3[1] },
{ TLNX,TLNY,6,7,2, red3,3,0, &d3[2] },
{ BRNX,BRNY,6,7,2, ired3,3,0, &d3[3]},
{ P11X,P11Y,7,8,2, diamond,3,0, &d2[3] }
};
struct Image d4[] =
{
{ 0,0,64,48,1, blank,1,0, &d4[1] },
{ TLNX,TLNY,6,7,2, red4,3,0, &d4[2] },
{ BRNX,BRNY,6,7,2, ired4,3,0, &d4[3]},
{ P1X,P1Y,7,8,2, diamond,3,0, &d4[4]},
{ P2X,P2Y,7,8,2, diamond,3,0, &d4[5]},
{ P7X,P7Y,7,8,2, idiamond,3,0, &d4[6] },
{ P8X,P8Y,7,8,2, idiamond,3,0, &da[4] }
};
struct Image d5[] =
{
{ 0,0,64,48,1, blank,1,0, &d5[1] },
{ TLNX,TLNY,6,7,2, red5,3,0, &d5[2] },
{ BRNX,BRNY,6,7,2, ired5,3,0, &d5[3]},
{ P11X,P11Y,7,8,2, diamond,3,0, &d4[3] }
};
struct Image d6[] =
{
{ 0,0,64,48,1, blank,1,0, &d6[1] },
{ TLNX,TLNY,6,7,2, red6,3,0, &d6[2] },
{ BRNX,BRNY,6,7,2, ired6,3,0, &d6[3] },
{ P9X,P9Y,7,8,2, diamond,3,0, &d6[4] },
{ P10X,P10Y,7,8,2, diamond,3,0, &d4[3] }
};
struct Image d7[] =
{
{ 0,0,64,48,1, blank,1,0, &d7[1] },
{ TLNX,TLNY,6,7,2, red7,3,0, &d7[2] },
{ BRNX,BRNY,6,7,2, ired7,3,0, &d7[3]},
{ P13X,P13Y,7,8,2, idiamond,3,0, &d6[3] }
};
struct Image d8[] =
{
{ 0,0,64,48,1, blank,1,0, &d8[1] },
{ TLNX,TLNY,6,7,2, red8,3,0, &d8[2] },
{ BRNX,BRNY,6,7,2, ired8,3,0, &d8[3] },
{ P12X,P12Y,7,8,2, diamond,3,0, &d7[3] }
};
struct Image d9[] =
{
{ 0,0,64,48,1, blank,1,0, &d9[1] },
{ TLNX,TLNY,6,7,2, red9,3,0, &d9[2] },
{ BRNX,BRNY,6,7,2, ired9,3,0, &d9[3] },
{ P11X,P11Y,7,8,2, diamond,3,0, &d9[4] },
{ P3X,P3Y,7,8,2, diamond,3,0, &d9[5] },
{ P4X,P4Y,7,8,2, diamond,3,0, &d9[6] },
{ P5X,P5Y,7,8,2, idiamond,3,0, &d9[7] },
{ P6X,P6Y,7,8,2, idiamond,3,0, &d4[3] }
};
struct Image d10[] =
{
{ 0,0,64,48,1, blank,1,0, &d10[1] },
{ TLNX-1,TLNY,9,7,2, red10,3,0, &d10[2] },
{ BRNX,BRNY,9,7,2, ired10,3,0, &d10[3] },
{ P12X,P12Y,7,8,2, diamond,3,0, &d10[4] },
{ P13X,P13Y,7,8,2, idiamond,3,0, &d9[4] }
};
struct Image dj[] =
{
{ 0,0,64,48,1, blank,1,0, &dj[1] },
{ TLNX,TLNY,7,7,2, redj,3,0, &dj[2] },
{ BRNX,BRNY,7,7,2, iredj,3,0, &dj[3] },
{ PICX,PICY,36,38,3, redjpic,7,0, &da[4]}
};
struct Image dq[] =
{
{ 0,0,64,48,1, blank,1,0, &dq[1] },
{ TLNX,TLNY,7,7,2, redq,3,0, &dq[2] },
{ BRNX,BRNY,7,7,2, iredq,3,0, &dq[3] },
{ PICX,PICY,36,38,3, redqpic,7,0, &da[4]}
};
struct Image dk[] =
{
{ 0,0,64,48,1, blank,1,0, &dk[1] },
{ TLNX,TLNY,6,7,2, redk,3,0, &dk[2] },
{ BRNX,BRNY,6,7,2, iredk,3,0, &dk[3] },
{ PICX,PICY,37,38,3, redkpic,7,0, &da[4]}
};
/*hearts*/
struct Image ha[] =
{
{ 0,0,64,48,1, blank,1,0, &ha[1] },
{ TLNX,TLNY,6,7,2, reda,3,0, &ha[2] },
{ BRNX,BRNY,6,7,2, ireda,3,0, &ha[3] },
{ P11X,P11Y,9,8,2, heart,3,0, &ha[4] },
{ TLSX,TLSY,9,8,2, heart,3,0, &ha[5] },
{ BRSX,BRSY,9,8,2, iheart,3,0, NULL }
};
struct Image h2[] =
{
{ 0,0,64,48,1, blank,1,0, &h2[1] },
{ TLNX,TLNY,6,7,2, red2,3,0, &h2[2] },
{ BRNX,BRNY,6,7,2, ired2,3,0, &h2[3] },
{ P14X,P14Y,9,8,2, heart,3,0, &h2[4] },
{ P15X,P15Y,9,8,2, iheart,3,0, &ha[4] }
};
struct Image h3[] =
{
{ 0,0,64,48,1, blank,1,0, &h3[1] },
{ TLNX,TLNY,6,7,2, red3,3,0, &h3[2] },
{ BRNX,BRNY,6,7,2, ired3,3,0, &h3[3] },
{ P11X,P11Y,9,8,2, heart,3,0, &h2[3] }
};
struct Image h4[] =
{
{ 0,0,64,48,1, blank,1,0, &h4[1] },
{ TLNX,TLNY,6,7,2, red4,3,0, &h4[2] },
{ BRNX,BRNY,6,7,2, ired4,3,0, &h4[3] },
{ P1X,P1Y,9,8,2, heart,3,0, &h4[4] },
{ P2X,P2Y,9,8,2, heart,3,0, &h4[5] },
{ P7X,P7Y,9,8,2, iheart,3,0, &h4[6] },
{ P8X,P8Y,9,8,2, iheart,3,0, &ha[4] }
};
struct Image h5[] =
{
{ 0,0,64,48,1, blank,1,0, &h5[1] },
{ TLNX,TLNY,6,7,2, red5,3,0, &h5[2] },
{ BRNX,BRNY,6,7,2, ired5,3,0, &h5[3] },
{ P11X,P11Y,9,8,2, heart,3,0, &h4[3] }
};
struct Image h6[] =
{
{ 0,0,64,48,1, blank,1,0, &h6[1] },
{ TLNX,TLNY,6,7,2, red6,3,0, &h6[2] },
{ BRNX,BRNY,6,7,2, ired6,3,0, &h6[3] },
{ P9X,P9Y,9,8,2, heart,3,0, &h6[4] },
{ P10X,P10Y,9,8,2, heart,3,0, &h4[3] }
};
struct Image h7[] =
{
{ 0,0,64,48,1, blank,1,0, &h7[1] },
{ TLNX,TLNY,6,7,2, red7,3,0, &h7[2] },
{ BRNX,BRNY,6,7,2, ired7,3,0, &h7[3] },
{ P13X,P13Y,9,8,2, iheart,3,0, &h6[3] }
};
struct Image h8[] =
{
{ 0,0,64,48,1, blank,1,0, &h8[1] },
{ TLNX,TLNY,6,7,2, red8,3,0, &h8[2] },
{ BRNX,BRNY,6,7,2, ired8,3,0, &h8[3] },
{ P12X,P12Y,9,8,2, heart,3,0, &h7[3] }
};
struct Image h9[] =
{
{ 0,0,64,48,1, blank,1,0, &h9[1] },
{ TLNX,TLNY,6,7,2, red9,3,0, &h9[2] },
{ BRNX,BRNY,6,7,2, ired9,3,0, &h9[3] },
{ P11X,P11Y,9,8,2, heart,3,0, &h9[4] },
{ P3X,P3Y,9,8,2, heart,3,0, &h9[5] },
{ P4X,P4Y,9,8,2, heart,3,0, &h9[6] },
{ P5X,P5Y,9,8,2, iheart,3,0, &h9[7] },
{ P6X,P6Y,9,8,2, iheart,3,0, &h4[3] }
};
struct Image h10[] =
{
{ 0,0,64,48,1, blank,1,0, &h10[1] },
{ TLNX-1,TLNY,9,7,2, red10,3,0, &h10[2] },
{ BRNX,BRNY,9,7,2, ired10,3,0, &h10[3] },
{ P12X,P12Y,9,8,2, heart,3,0, &h10[4] },
{ P13X,P13Y,9,8,2, iheart,3,0, &h9[4] }
};
struct Image hj[] =
{
{ 0,0,64,48,1, blank,1,0, &hj[1] },
{ TLNX,TLNY,7,7,2, redj,3,0, &hj[2] },
{ BRNX,BRNY,7,7,2, iredj,3,0, &hj[3] },
{ PICX,PICY,36,38,3, redjpic, 7,0, &ha[4] }
};
struct Image hq[] =
{
{ 0,0,64,48,1, blank,1,0, &hq[1] },
{ TLNX,TLNY,7,7,2, redq,3,0, &hq[2] },
{ BRNX,BRNY,7,7,2, iredq,3,0, &hq[3] },
{ PICX,PICY,36,38,3, redqpic,7,0, &ha[4] }
};
struct Image hk[] =
{
{ 0,0,64,48,1, blank,1,0, &hk[1] },
{ TLNX,TLNY,6,7,2, redk,3,0, &hk[2] },
{ BRNX,BRNY,6,7,2, iredk,3,0, &hk[3] },
{ PICX,PICY,37,38,3, redkpic,7,0, &ha[4]}
};
/*clubs*/
struct Image ca[] =
{
{ 0,0,64,48,1, blank,1,0, &ca[1] },
{ TLNX,TLNY,6,7,1, blacka,2,1, &ca[2] },
{ BRNX,BRNY,6,7,1, iblacka,2,1, &ca[3] },
{ P11X,P11Y,9,8,1, club,2,1, &ca[4] },
{ TLSX,TLSY,9,8,1, club,2,1, &ca[5]},
{ BRSX,BRSY,9,8,1, iclub,2,1, NULL }
};
struct Image c2[] =
{
{ 0,0,64,48,1, blank,1,0, &c2[1] },
{ TLNX,TLNY,6,7,1, black2,2,1, &c2[2] },
{ BRNX,BRNY,6,7,1, iblack2,2,1, &c2[3] },
{ P14X,P14Y,9,8,1, club,2,1, &c2[4] },
{ P15X,P15Y,9,8,1, iclub,2,1, &ca[4] }
};
struct Image c3[] =
{
{ 0,0,64,48,1, blank,1,0, &c3[1] },
{ TLNX,TLNY,6,7,1, black3,2,1, &c3[2] },
{ BRNX,BRNY,6,7,1, iblack3,2,1, &c3[3]},
{ P11X,P11Y,9,8,1, club,2,1, &c2[3] }
};
struct Image c4[] =
{
{ 0,0,64,48,1, blank,1,0, &c4[1] },
{ TLNX,TLNY,6,7,1, black4,2,1, &c4[2] },
{ BRNX,BRNY,6,7,1, iblack4,2,1, &c4[3] },
{ P1X,P1Y,9,8,1, club,2,1, &c4[4] },
{ P2X,P2Y,9,8,1, club,2,1, &c4[5] },
{ P7X,P7Y,9,8,1, iclub,2,1, &c4[6] },
{ P8X,P8Y,9,8,1, iclub,2,1, &ca[4] }
};
struct Image c5[] =
{
{ 0,0,64,48,1, blank,1,0, &c5[1] },
{ TLNX,TLNY,6,7,1, black5,2,1, &c5[2] },
{ BRNX,BRNY,6,7,1, iblack5,2,1, &c5[3] },
{ P11X,P11Y,9,8,1, club,2,1, &c4[3] }
};
struct Image c6[] =
{
{ 0,0,64,48,1, blank,1,0, &c6[1] },
{ TLNX,TLNY,6,7,1, black6,2,1, &c6[2] },
{ BRNX,BRNY,6,7,1, iblack6,2,1, &c6[3] },
{ P9X,P9Y,9,8,1, club,2,1, &c6[4] },
{ P10X,P10Y,9,8,1, club,2,1, &c4[3] }
};
struct Image c7[] =
{
{ 0,0,64,48,1, blank,1,0, &c7[1] },
{ TLNX,TLNY,6,7,1, black7,2,1, &c7[2] },
{ BRNX,BRNY,6,7,1, iblack7,2,1, &c7[3]},
{ P13X,P13Y,9,8,1, iclub,2,1, &c6[3] }
};
struct Image c8[] =
{
{ 0,0,64,48,1, blank,1,0, &c8[1] },
{ TLNX,TLNY,6,7,1, black8,2,1, &c8[2] },
{ BRNX,BRNY,6,7,1, iblack8,2,1, &c8[3] },
{ P12X,P12Y,9,8,1, club,2,1, &c7[3] }
};
struct Image c9[] =
{
{ 0,0,64,48,1, blank,1,0, &c9[1] },
{ TLNX,TLNY,6,7,1, black9,2,1, &c9[2] },
{ BRNX,BRNY,6,7,1, iblack9,2,1, &c9[3] },
{ P11X,P11Y,9,8,1, club,2,1, &c9[4] },
{ P3X,P3Y,9,8,1, club,2,1, &c9[5] },
{ P4X,P4Y,9,8,1, club,2,1, &c9[6] },
{ P5X,P5Y,9,8,1, iclub,2,1, &c9[7] },
{ P6X,P6Y,9,8,1, iclub,2,1, &c4[3] }
};
struct Image c10[] =
{
{ 0,0,64,48,1, blank,1,0, &c10[1] },
{ TLNX-1,TLNY,9,7,1, black10,2,1, &c10[2] },
{ BRNX,BRNY,9,7,1, iblack10,2,1, &c10[3] },
{ P12X,P12Y,9,8,1, club,2,1, &c10[4] },
{ P13X,P13Y,9,8,1, iclub,2,1, &c9[4] }
};
struct Image cj[] =
{
{ 0,0,64,48,1, blank,1,0, &cj[1] },
{ TLNX,TLNY,7,7,1, blackj,2,1, &cj[2] },
{ BRNX,BRNY,7,7,1, iblackj,2,1, &cj[3] },
{ PICX,PICY,36,38,3, blackjpic,7,0, &ca[4]}
};
struct Image cq[] =
{
{ 0,0,64,48,1, blank,1,0, &cq[1] },
{ TLNX,TLNY,7,7,1, blackq,2,1, &cq[2] },
{ BRNX,BRNY,7,7,1, iblackq,2,1, &cq[3] },
{ PICX,PICY,36,38,3, blackqpic,7,0, &ca[4]}
};
struct Image ck[] =
{
{ 0,0,64,48,1, blank,1,0, &ck[1] },
{ TLNX,TLNY,6,7,1, blackk,2,1, &ck[2] },
{ BRNX,BRNY,6,7,1, iblackk,2,1, &ck[3] },
{ PICX,PICY,36,38,3, blackkpic,7,0, &ca[4]}
};
/*spades*/
struct Image sa[] =
{
{ 0,0,64,48,1, blank,1,0, &sa[1] },
{ TLNX,TLNY,6,7,1, blacka,2,1, &sa[2] },
{ BRNX,BRNY,6,7,1, iblacka,2,1, &sa[3] },
{ P11X,P11Y,9,8,1, spade,2,1, &sa[4] },
{ TLSX,TLSY,9,8,1, spade,2,1, &sa[5] },
{ BRSX,BRSY,9,8,1, ispade,2,1, NULL }
};
struct Image s2[] =
{
{ 0,0,64,48,1, blank,1,0, &s2[1] },
{ TLNX,TLNY,6,7,1, black2,2,1, &s2[2] },
{ BRNX,BRNY,6,7,1, iblack2,2,1, &s2[3] },
{ P14X,P14Y,9,8,1, spade,2,1, &s2[4] },
{ P15X,P15Y,9,8,1, ispade,2,1, &sa[4] }
};
struct Image s3[] =
{
{ 0,0,64,48,1, blank,1,0, &s3[1] },
{ TLNX,TLNY,6,7,1, black3,2,1, &s3[2] },
{ BRNX,BRNY,6,7,1, iblack3,2,1, &s3[3] },
{ P11X,P11Y,9,8,1, spade,2,1, &s2[3] }
};
struct Image s4[] =
{
{ 0,0,64,48,1, blank,1,0, &s4[1] },
{ TLNX,TLNY,6,7,1, black4,2,1, &s4[2] },
{ BRNX,BRNY,6,7,1, iblack4,2,1, &s4[3] },
{ P1X,P1Y,9,8,1, spade,2,1, &s4[4] },
{ P2X,P2Y,9,8,1, spade,2,1, &s4[5] },
{ P7X,P7Y,9,8,1, ispade,2,1, &s4[6] },
{ P8X,P8Y,9,8,1, ispade,2,1, &sa[4] }
};
struct Image s5[] =
{
{ 0,0,64,48,1, blank,1,0, &s5[1] },
{ TLNX,TLNY,6,7,1, black5,2,1, &s5[2] },
{ BRNX,BRNY,6,7,1, iblack5,2,1, &s5[3] },
{ P11X,P11Y,9,8,1, spade,2,1, &s4[3] }
};
struct Image s6[] =
{
{ 0,0,64,48,1, blank,1,0, &s6[1] },
{ TLNX,TLNY,6,7,1, black6,2,1, &s6[2] },
{ BRNX,BRNY,6,7,1, iblack6,2,1, &s6[3] },
{ P9X,P9Y,9,8,1, spade,2,1, &s6[4] },
{ P10X,P10Y,9,8,1, spade,2,1, &s4[3] }
};
struct Image s7[] =
{
{ 0,0,64,48,1, blank,1,0, &s7[1] },
{ TLNX,TLNY,6,7,1, black7,2,1, &s7[2] },
{ BRNX,BRNY,6,7,1, iblack7,2,1, &s7[3] },
{ P13X,P13Y,9,8,1, ispade,2,1, &s6[3] }
};
struct Image s8[] =
{
{ 0,0,64,48,1, blank,1,0, &s8[1] },
{ TLNX,TLNY,6,7,1, black8,2,1, &s8[2] },
{ BRNX,BRNY,6,7,1, iblack8,2,1, &s8[3] },
{ P12X,P12Y,9,8,1, spade,2,1, &s7[3] }
};
struct Image s9[] =
{
{ 0,0,64,48,1, blank,1,0, &s9[1] },
{ TLNX,TLNY,6,7,1, black9,2,1, &s9[2] },
{ BRNX,BRNY,6,7,1, iblack9,2,1, &s9[3] },
{ P11X,P11Y,9,8,1, spade,2,1, &s9[4] },
{ P3X,P3Y,9,8,1, spade,2,1, &s9[5] },
{ P4X,P4Y,9,8,1, spade,2,1, &s9[6] },
{ P5X,P5Y,9,8,1, ispade,2,1, &s9[7] },
{ P6X,P6Y,9,8,1, ispade,2,1, &s4[3] }
};
struct Image s10[] =
{
{ 0,0,64,48,1, blank,1,0, &s10[1] },
{ TLNX-1,TLNY,9,7,1, black10,2,1, &s10[2] },
{ BRNX,BRNY,9,7,1, iblack10,2,1, &s10[3] },
{ P12X,P12Y,9,8,1, spade,2,1, &s10[4] },
{ P13X,P13Y,9,8,1, ispade,2,1, &s9[4] }
};
struct Image sj[] =
{
{ 0,0,64,48,1, blank,1,0, &sj[1] },
{ TLNX,TLNY,7,7,1, blackj,2,1, &sj[2] },
{ BRNX,BRNY,7,7,1, iblackj,2,1, &sj[3] },
{ PICX,PICY,36,38,3, blackjpic,7,0, &sa[4]}
};
struct Image sq[] =
{
{ 0,0,64,48,1, blank,1,0, &sq[1] },
{ TLNX,TLNY,7,7,1, blackq,2,1, &sq[2] },
{ BRNX,BRNY,7,7,1, iblackq,2,1, &sq[3] },
{ PICX,PICY,36,38,3, blackqpic, 7,0, &sa[4] }
};
struct Image sk[] =
{
{ 0,0,64,48,1, blank,1,0, &sk[1] },
{ TLNX,TLNY,6,7,1, blackk,2,1, &sk[2] },
{ BRNX,BRNY,6,7,1, iblackk,2,1, &sk[3] },
{ PICX,PICY,36,38,3, blackkpic, 7,0, &sa[4] }
};
/*edge image declarations*/
struct Image eda[] =
{
{ 0,0,21,48,2, edge,3,0, &eda[1] },
{ TLNX,TLNY,6,7,2, reda,3,0, &eda[2] },
{ TLSX,TLSY,7,8,2, diamond,3,0, NULL}
};
struct Image ed2[] =
{
{ 0,0,21,48,2, edge,3,0, &ed2[1]},
{ TLNX,TLNY,6,7,2, red2,3,0, &eda[2] }
};
struct Image ed3[] =
{
{ 0,0,21,48,2, edge,3,0, &ed3[1]},
{ TLNX,TLNY,6,7,2, red3,3,0, &eda[2] }
};
struct Image ed4[] =
{
{ 0,0,21,48,2, edge,3,0, &ed4[1]},
{ TLNX,TLNY,6,7,2, red4,3,0, &eda[2] }
};
struct Image ed5[] =
{
{ 0,0,21,48,2, edge,3,0, &ed5[1]},
{ TLNX,TLNY,6,7,2, red5,3,0, &eda[2] }
};
struct Image ed6[] =
{
{ 0,0,21,48,2, edge,3,0, &ed6[1]},
{ TLNX,TLNY,6,7,2, red6,3,0, &eda[2] }
};
struct Image ed7[] =
{
{ 0,0,21,48,2, edge,3,0, &ed7[1]},
{ TLNX,TLNY,6,7,2, red7,3,0, &eda[2] }
};
struct Image ed8[] =
{
{ 0,0,21,48,2, edge,3,0, &ed8[1]},
{ TLNX,TLNY,6,7,2, red8,3,0, &eda[2] }
};
struct Image ed9[] =
{
{ 0,0,21,48,2, edge,3,0, &ed9[1]},
{ TLNX,TLNY,6,7,2, red9,3,0, &eda[2] }
};
struct Image ed10[] =
{
{ 0,0,21,48,2, edge,3,0, &ed10[1]},
{ TLNX-1,TLNY,9,7,2, red10,3,0, &eda[2] }
};
struct Image edj[] =
{
{ 0,0,21,48,2, edge,3,0, &edj[1]},
{ TLNX,TLNY,7,7,2, redj,3,0, &eda[2] }
};
struct Image edq[] =
{
{ 0,0,21,48,2, edge,3,0, &edq[1]},
{ TLNX,TLNY,7,7,2, redq,3,0, &eda[2] }
};
struct Image edk[] =
{
{ 0,0,21,48,2, edge,3,0, &edk[1]},
{ TLNX,TLNY,6,7,2, redk,3,0, &eda[2] }
};
/*hearts*/
struct Image eha[] =
{
{ 0,0,21,48,2, edge,3,0, &eha[1]},
{ TLNX,TLNY,6,7,2, reda,3,0, &eha[2] },
{ TLSX,TLSY,9,8,2, heart,3,0, NULL }
};
struct Image eh2[] =
{
{ 0,0,21,48,2, edge,3,0, &eh2[1]},
{ TLNX,TLNY,6,7,2, red2,3,0, &eha[2] }
};
struct Image eh3[] =
{
{ 0,0,21,48,2, edge,3,0, &eh3[1]},
{ TLNX,TLNY,6,7,2, red3,3,0, &eha[2] }
};
struct Image eh4[] =
{
{ 0,0,21,48,2, edge,3,0, &eh4[1]},
{ TLNX,TLNY,6,7,2, red4,3,0, &eha[2] }
};
struct Image eh5[] =
{
{ 0,0,21,48,2, edge,3,0, &eh5[1]},
{ TLNX,TLNY,6,7,2, red5,3,0, &eha[2] },
};
struct Image eh6[] =
{
{ 0,0,21,48,2, edge,3,0, &eh6[1]},
{ TLNX,TLNY,6,7,2, red6,3,0, &eha[2] }
};
struct Image eh7[] =
{
{ 0,0,21,48,2, edge,3,0, &eh7[1]},
{ TLNX,TLNY,6,7,2, red7,3,0, &eha[2] }
};
struct Image eh8[] =
{
{ 0,0,21,48,2, edge,3,0, &eh8[1]},
{ TLNX,TLNY,6,7,2, red8,3,0, &eha[2] }
};
struct Image eh9[] =
{
{ 0,0,21,48,2, edge,3,0, &eh9[1]},
{ TLNX,TLNY,6,7,2, red9,3,0, &eha[2] }
};
struct Image eh10[] =
{
{ 0,0,21,48,2, edge,3,0, &eh10[1]},
{ TLNX-1,TLNY,9,7,2, red10,3,0, &eha[2] }
};
struct Image ehj[] =
{
{ 0,0,21,48,2, edge,3,0, &ehj[1]},
{ TLNX,TLNY,7,7,2, redj,3,0, &eha[2] }
};
struct Image ehq[] =
{
{ 0,0,21,48,2, edge,3,0, &ehq[1]},
{ TLNX,TLNY,7,7,2, redq,3,0, &eha[2] }
};
struct Image ehk[] =
{
{ 0,0,21,48,2, edge,3,0, &ehk[1]},
{ TLNX,TLNY,6,7,2, redk,3,0, &eha[2] }
};
/*club*/
struct Image eca[] =
{
{ 0,0,21,48,2, edge,3,1, &eca[1]},
{ TLNX,TLNY,6,7,1, blacka,2,1, &eca[2] },
{ TLSX,TLSY,9,8,1, club,2,1, NULL }
};
struct Image ec2[] =
{
{ 0,0,21,48,2, edge,3,0, &ec2[1]},
{ TLNX,TLNY,6,7,1, black2,2,1, &eca[2] }
};
struct Image ec3[] =
{
{ 0,0,21,48,2, edge,3,0, &ec3[1]},
{ TLNX,TLNY,6,7,1, black3,2,1, &eca[2] }
};
struct Image ec4[] =
{
{ 0,0,21,48,2, edge,3,0, &ec4[1]},
{ TLNX,TLNY,6,7,1, black4,2,1, &eca[2] }
};
struct Image ec5[] =
{
{ 0,0,21,48,2, edge,3,0, &ec5[1]},
{ TLNX,TLNY,6,7,1, black5,2,1, &eca[2] },
};
struct Image ec6[] =
{
{ 0,0,21,48,2, edge,3,0, &ec6[1]},
{ TLNX,TLNY,6,7,1, black6,2,1, &eca[2] }
};
struct Image ec7[] =
{
{ 0,0,21,48,2, edge,3,0, &ec7[1]},
{ TLNX,TLNY,6,7,1, black7,2,1, &eca[2] }
};
struct Image ec8[] =
{
{ 0,0,21,48,2, edge,3,0, &ec8[1]},
{ TLNX,TLNY,6,7,1, black8,2,1, &eca[2] }
};
struct Image ec9[] =
{
{ 0,0,21,48,2, edge,3,0, &ec9[1]},
{ TLNX,TLNY,6,7,1, black9,2,1, &eca[2] }
};
struct Image ec10[] =
{
{ 0,0,21,48,2, edge,3,0, &ec10[1]},
{ TLNX-1,TLNY,9,7,1, black10,2,1, &eca[2] }
};
struct Image ecj[] =
{
{ 0,0,21,48,2, edge,3,0, &ecj[1]},
{ TLNX,TLNY,7,7,1, blackj,2,1, &eca[2] }
};
struct Image ecq[] =
{
{ 0,0,21,48,2, edge,3,0, &ecq[1]},
{ TLNX,TLNY,7,7,1, blackq,2,1, &eca[2] }
};
struct Image eck[] =
{
{ 0,0,21,48,2, edge,3,0, &eck[1]},
{ TLNX,TLNY,6,7,1, blackk,2,1, &eca[2] }
};
/* spades */
struct Image esa[] =
{
{ 0,0,21,48,2, edge,3,0, &esa[1]},
{ TLNX,TLNY,6,7,1, blacka,2,1, &esa[2] },
{ TLSX,TLSY,9,8,1, spade,2,1, NULL }
};
struct Image es2[] =
{
{ 0,0,21,48,2, edge,3,0, &es2[1]},
{ TLNX,TLNY,6,7,1, black2,2,1, &esa[2] }
};
struct Image es3[] =
{
{ 0,0,21,48,2, edge,3,0, &es3[1]},
{ TLNX,TLNY,6,7,1, black3,2,1, &esa[2] }
};
struct Image es4[] =
{
{ 0,0,21,48,2, edge,3,0, &es4[1]},
{ TLNX,TLNY,6,7,1, black4,2,1, &esa[2] }
};
struct Image es5[] =
{
{ 0,0,21,48,2, edge,3,0, &es5[1]},
{ TLNX,TLNY,6,7,1, black5,2,1, &esa[2] },
};
struct Image es6[] =
{
{ 0,0,21,48,2, edge,3,0, &es6[1]},
{ TLNX,TLNY,6,7,1, black6,2,1, &esa[2] }
};
struct Image es7[] =
{
{ 0,0,21,48,2, edge,3,0, &es7[1]},
{ TLNX,TLNY,6,7,1, black7,2,1, &esa[2] }
};
struct Image es8[] =
{
{ 0,0,21,48,2, edge,3,0, &es8[1]},
{ TLNX,TLNY,6,7,1, black8,2,1, &esa[2] }
};
struct Image es9[] =
{
{ 0,0,21,48,2, edge,3,0, &es9[1]},
{ TLNX,TLNY,6,7,1, black9,2,1, &esa[2] }
};
struct Image es10[] =
{
{ 0,0,21,48,2, edge,3,0, &es10[1]},
{ TLNX-1,TLNY,9,7,1, black10,2,1, &esa[2] }
};
struct Image esj[] =
{
{ 0,0,21,48,2, edge,3,0, &esj[1]},
{ TLNX,TLNY,7,7,1, blackj,2,1, &esa[2] }
};
struct Image esq[] =
{
{ 0,0,21,48,2, edge,3,0, &esq[1]},
{ TLNX,TLNY,7,7,1, blackq,2,1, &esa[2] }
};
struct Image esk[] =
{
{ 0,0,21,48,2, edge,3,0, &esk[1]},
{ TLNX,TLNY,6,7,1, blackk,2,1, &esa[2] }
};
struct Image backpatim = { 7,0,50,47,3, backpat, 7,0, NULL};
struct Image rvscard ={ 0,0,64,48,1, blank, 1,0, &backpatim };
struct Image eback ={ 7,4,10,40,2, ebackpat, 3,0, NULL};
struct Image rvsedge ={ 0,0,21,48,2, edge, 3,0, &eback };
struct Image *packim[][53] =
{
{ /*card faces*/
&rvscard,
da,d2,d3,d4,d5,d6,d7,d8,d9,d10,dj,dq,dk,
ha,h2,h3,h4,h5,h6,h7,h8,h9,h10,hj,hq,hk,
ca,c2,c3,c4,c5,c6,c7,c8,c9,c10,cj,cq,ck,
sa,s2,s3,s4,s5,s6,s7,s8,s9,s10,sj,sq,sk
},
{ /*card edges*/
&rvsedge,
eda,ed2,ed3,ed4,ed5,ed6,ed7,ed8,ed9,ed10,edj,edq,edk,
eha,eh2,eh3,eh4,eh5,eh6,eh7,eh8,eh9,eh10,ehj,ehq,ehk,
eca,ec2,ec3,ec4,ec5,ec6,ec7,ec8,ec9,ec10,ecj,ecq,eck,
esa,es2,es3,es4,es5,es6,es7,es8,es9,es10,esj,esq,esk
}
};